import Vue from 'vue'
import MintUI from 'mint-ui'



import 'mint-ui/lib/style.css'

import '../lib/mui/css/mui.min.css'
import '../lib/mui/css/icons-extra.css'
Vue.use(MintUI)

//安装图片预览的插件
// import VuePreview from 'vue-preview'
// Vue.use(VuePreview, {
//     mainClass: 'pswp--minimal--dark',
//     barsSize: {top: 0, bottom: 0},
//     captionEl: false,
//     fullscreenEl: false,
//     shareEl: false,
//     bgOpacity: 0.85,
//     tapToClose: true,
//     tapToToggleControls: false
//   }
//   )

// 导入过滤器
import './filters.js'
// 配置axios
import axios from 'axios'
Vue.prototype.$http = axios.create({
  baseURL: 'http://api.cms.liulongbin.top/', //全局配置axios请求的根路径
})